package StudentManagerSystem;
//学生类
public class Student {
    private String name;
    private String sex;
    private int age;
    private int nums;//学号

//    public Student(String name,String sex,int age,int nums){
//        this.name = name;
//        this.sex = sex;
//        this.age = age;
//        this.nums = nums;
//    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getNums() {
        return nums;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }
}
